//
//  TWbWeiboModel.m
//  TencentWB
//
//  Created by uki on 14-5-21.
//  Copyright (c) 2014年 user. All rights reserved.
//

#import "TWbWeiboModel.h"

@implementation TWbWeiboModel

@synthesize m_weiboCityCode,m_weiboCount,m_weiboCountryCode,m_weiboEmotionType,m_weiboEmotionUrl,m_weiboFrom,m_weiboFromUrl,m_weiboGeo,m_weiboHead,m_weiboId,m_weiboImage,m_weiboIsvip,m_weiboLocation,m_weiboMcount,m_weiboName,m_weiboNick,m_weiboOpenid,m_weiboOrigtext,m_weiboProvinceCode,m_weiboSelf,m_weiboSource,m_weiboStatus,m_weiboText,m_weiboTimestamp,m_weiboType;

-(instancetype)initWithDic:(NSDictionary *)dic
{
    self = [super initWithDic:dic];
    if(self)
    {
        self.m_weiboText = [dic valueForKey:@"text"];
        self.m_weiboOrigtext = [dic valueForKey:@"origtext"];
        self.m_weiboCount = [dic valueForKey:@"count"];
        self.m_weiboMcount = [dic valueForKey:@"mcount"];
        self.m_weiboFrom = [dic valueForKey:@"from"];
        self.m_weiboFromUrl = [dic valueForKey:@"fromurl"];
        self.m_weiboId = [dic valueForKey:@"id"];
        self.m_weiboImage = [dic valueForKey:@"image"];
        self.m_weiboName = [dic valueForKey:@"name"];
        self.m_weiboOpenid = [dic valueForKey:@"openid"];
        self.m_weiboNick = [dic valueForKey:@"nick"];
        self.m_weiboSelf = [dic valueForKey:@"self"];
        self.m_weiboTimestamp = [dic valueForKey:@"timestamp"];
        self.m_weiboType = [dic valueForKey:@"type"];
        self.m_weiboHead = [dic valueForKey:@"head"];
        self.m_weiboLocation = [dic valueForKey:@"location"];
        self.m_weiboCountryCode = [dic valueForKey:@"country_code"];
        self.m_weiboProvinceCode = [dic valueForKey:@"province_code"];
        self.m_weiboCityCode = [dic valueForKey:@"city_code"];
        self.m_weiboIsvip = [dic valueForKey:@"isvip"];
        self.m_weiboGeo = [dic valueForKey:@"geo"];
        self.m_weiboStatus = [dic valueForKey:@"status"];
        self.m_weiboEmotionUrl = [dic valueForKey:@"emotionurl"];
        self.m_weiboEmotionType = [dic valueForKey:@"emotiontype"];
        self.m_weiboSource = [dic valueForKey:@"source"];
    }
    return self;
}

@end
